package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkBookDao;
import com.suke.czx.modules.wxadmin.entity.DkBookEntity;
import com.suke.czx.modules.wxadmin.service.DkBookService;



@Service("dkBookService")
public class DkBookServiceImpl implements DkBookService {
	@Autowired
	private DkBookDao dkBookDao;
	
	@Override
	public DkBookEntity queryObject(Integer id){
		return dkBookDao.queryObject(id);
	}
	
	@Override
	public List<DkBookEntity> queryList(Map<String, Object> map){
		return dkBookDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkBookDao.queryTotal(map);
	}
	
	@Override
	public void save(DkBookEntity dkBook){
		dkBookDao.save(dkBook);
	}
	
	@Override
	public void update(DkBookEntity dkBook){
		dkBookDao.update(dkBook);
	}
	
	@Override
	public void delete(Integer id){
		dkBookDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		dkBookDao.deleteBatch(ids);
	}
	
}
